package com.tc.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

/**
 * @Auther: tianchao
 * @Date: 2021/10/18 09:05
 * @Description:
 */
@Data
public class User {

    //@JsonSerialize(using = JacksonEnumSerializer.class)
    //@JsonDeserialize(using = JacksonEnumDeserializer.class)
    private SexEnum sexEnum;

    private StatusEnum statusEnum;

    private TestEnum testEnum;

    public SexEnum getSexEnum() {
        return sexEnum;
    }

    public void setSexEnum(SexEnum sexEnum) {
        this.sexEnum = sexEnum;
    }
}
